package com.example;

import java.util.HashMap;
import java.util.Map;

public class demo {
    public static void main(String[] args) {

        new demo().test();
    }
    public void test()  {
        Map<String,Object> map = new HashMap<>();
        map.put("assettype","107");
        new Thread(new Runnable() {
            @Override
            public void run() {
                System.out.println(map);
                map.put("dd","dd");
                System.out.println("ssssssssss");

            }
        }).start();
//        try {
//        //    Thread.sleep(1000);
//        } catch (InterruptedException e) {
//            e.printStackTrace();
//        }
        System.out.println(map);

    }
}
